<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>栏目管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
        $(document).ready(function() {
            $("#name").focus();
            $("#inputForm").validate({
                submitHandler: function(form){
                    loading('正在提交，请稍等...');
                    form.submit();
                },
                errorContainer: "#messageBox",
//				errorPlacement: function(error, element) {
//					$("#messageBox").text("输入有误，请先更正。");
//					if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){
//						error.appendTo(element.parent().parent());
//					} else {
//						error.insertAfter(element);
//					}
//				}
            });
        });
	</script>
</head>
<body>
<ul class="nav nav-tabs">
	<li><a href="${ctx}/enterprise/framework/">企业审核列表</a></li>
	<li class="active"><a href="${ctx}/enterprise/framework/form">企业审核添加</a></li>
</ul>
<form:form id="inputForm" modelAttribute="framework" action="${ctx}/enterprise/framework/save" method="post" class="form-horizontal">
	<form:hidden path="id"/>
	<sys:message content="${message}"/>
	<div class="control-group">
		<label class="control-label">企业名称:</label>
		<div class="controls">
			<form:input path="enterpriseName" htmlEscape="false" maxlength="50" class="required"/>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">经营地址:</label>
		<div class="controls">
			<form:input path="address" htmlEscape="false" maxlength="200"/>
			<span class="help-inline">经营地址</span>
		</div>
	</div>

	<div class="control-group">
		<label class="control-label">营业执照统一社会信用代码:</label>
		<div class="controls">
			<form:input path="creditCode" htmlEscape="false" maxlength="50" class="required"/>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">企业地理位置:</label>
		<div class="controls">
			<form:input path="location" htmlEscape="false" maxlength="50" class="required"/>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">法定代表人:</label>
		<div class="controls">
			<form:input path="representative" htmlEscape="false" maxlength="50" class="required"/>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">联系电话:</label>
		<div class="controls">
			<form:input path="representativePhone" htmlEscape="false" maxlength="50" class="required"/>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">环保专干:</label>
		<div class="controls">
			<form:input path="envRepresentative" htmlEscape="false" maxlength="50" class="required"/>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">环保专干联系电话:</label>
		<div class="controls">
			<form:input path="envRepresentativePhone" htmlEscape="false" maxlength="50" class="required"/>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">项目名称:</label>
		<div class="controls">
			<form:input path="itemName" htmlEscape="false" maxlength="50" class="required"/>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">行业类别:</label>
		<div class="controls">
			<form:input path="itemCategory" htmlEscape="false" maxlength="50" class="required"/>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">占地面积:</label>
		<div class="controls">
			<form:input path="coverArea" htmlEscape="false" maxlength="50" class="required"/>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">投产时间:</label>
		<div class="controls">
			<form:input path="productionTime" htmlEscape="false" maxlength="50" class="required"/>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">环保投入:</label>
		<div class="controls">
			<form:input path="productionInput" htmlEscape="false" maxlength="50" class="required"/>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">环评审批时间及批复文号:</label>
		<div class="controls">
			<form:input path="auditTimeAndId" htmlEscape="false" maxlength="50" class="required"/>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">验收时间及验收文号:</label>
		<div class="controls">
			<form:input path="checkTimeAndId" htmlEscape="false" maxlength="50" class="required"/>
		</div>
	</div>

	<div class="control-group">
		<label class="control-label">应急预案及备案情况:</label>
		<div class="controls">
			<form:input path="standbySolution" htmlEscape="false" maxlength="200"/>
			<span class="help-inline">应急预案及备案情况</span>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">清洁生产
			审核时间:</label>
		<div class="controls">
			<form:input path="cleanAuditTime" htmlEscape="false" maxlength="200"/>
			<span class="help-inline">清洁生产审核时间</span>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">审核单位及验收时间:</label>
		<div class="controls">
			<form:input path="auditorAndAuditTime" htmlEscape="false" maxlength="200"/>
			<span class="help-inline">审核单位及验收时间</span>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">自动在线监控（测）设施:</label>
		<div class="controls">
			<form:input path="monitoringFacilities" htmlEscape="false" maxlength="200"/>
			<span class="help-inline">自动在线监控（测）设施</span>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">总量控制:</label>
		<div class="controls">
			<input value="${audit.total.get('OX')}"  htmlEscape="false" maxlength="200"/>
			<span class="help-inline">化学需氧量</span>
			<input value="${audit.total.get('AN')}" htmlEscape="false" maxlength="200"/>
			<span class="help-inline">氨氮</span>
			<input value="${audit.total.get('SO2')}" htmlEscape="false" maxlength="200"/>
			<span class="help-inline">二氧化硫</span>
			<input value="${audit.total.get('NO')}" htmlEscape="false" maxlength="200"/>
			<span class="help-inline">氮氧化物</span>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">排污许可证编号:</label>
		<div class="controls">
			<form:input path="dischargePermitId" htmlEscape="false" maxlength="200"/>
			<span class="help-inline">排污许可证编号</span>
		</div>
	</div>
	<div class="form-actions">
		<input id="btnSubmit" class="btn btn-primary" type="submit" value="保 存"/>&nbsp;
		<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
	</div>
</form:form>
</body>
</html>